Pygrub: add /var/lib/xen to the install tree.
authorTim Deegan <tim.deegan@xensource.com>
Thu, 21 Sep 2006 13:56:28 +0000 (14:56 +0100)
committerTim Deegan <tim.deegan@xensource.com>
Thu, 21 Sep 2006 13:56:28 +0000 (14:56 +0100)
(Pygrub uses /var/lib/xen to store fifos and image files.)
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
tools/pygrub/Makefile

index fab70ffc3008719e28bd2b7ade0673586ad0e870..de240f401fe9e36e9b266eb68ec2e1654290c78d 100644 (file)
@@ -12,9 +12,11 @@ build:
 ifndef XEN_PYTHON_NATIVE_INSTALL
 install: all
        CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix=""
+       $(INSTALL_DIR) -p $(DESTDIR)/var/lib/xen
 else
 install: all
        CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
+       $(INSTALL_DIR) -p $(DESTDIR)/var/lib/xen
 endif
 
 .PHONY: clean